﻿<Page
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:cx="clr-namespace:WPF_DbCenter.BaseUI"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
	x:Class="WPF_DbCenter.AppEntry"
	x:Name="Window"
	Title="SQLCE Viewer"
	Width="466" Height="296" Opacity="1" HorizontalAlignment="Stretch">
	<Page.Resources>
		<Storyboard x:Key="Timeline1">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="butOpen" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-194.124"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.9000000" Value="2.622"/>
				<SplineDoubleKeyFrame KeyTime="00:00:03" Value="3.622"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="butOpen" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-9"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.9000000" Value="26.723"/>
				<SplineDoubleKeyFrame KeyTime="00:00:03" Value="-2.277"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="butSync" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="3.663"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.9000000" Value="-0.674"/>
				<SplineDoubleKeyFrame KeyTime="00:00:03" Value="2.326"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="butSync" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="117"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.9000000" Value="28.277"/>
				<SplineDoubleKeyFrame KeyTime="00:00:03" Value="-0.723"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="butCreateEmptyDB" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="33.798"/>
				<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.625,1" KeyTime="00:00:03" Value="-0.202"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="butCreateEmptyDB" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="122"/>
				<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.625,1" KeyTime="00:00:03" Value="30.277"/>
			</DoubleAnimationUsingKeyFrames>
			<PointAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="butCreateEmptyDB" Storyboard.TargetProperty="(UIElement.RenderTransformOrigin)">
				<SplinePointKeyFrame KeyTime="00:00:00" Value="1.579,0.446"/>
			</PointAnimationUsingKeyFrames>
			<PointAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="butOpen" Storyboard.TargetProperty="(UIElement.RenderTransformOrigin)">
				<SplinePointKeyFrame KeyTime="00:00:00.9000000" Value="0.5,0.5"/>
				<SplinePointKeyFrame KeyTime="00:00:03" Value="0.508,0.166"/>
			</PointAnimationUsingKeyFrames>
		</Storyboard>
	</Page.Resources>

    <Page.Background>
        <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop Color="#FF000000" Offset="0"/>
            <GradientStop Color="#FFFFFFFF" Offset="1"/>
            <GradientStop Color="#FF8D9CC1" Offset="0.476"/>
            <GradientStop Color="#FF1A1B16" Offset="0.774"/>
        </LinearGradientBrush>
    </Page.Background>

    <Page.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource Timeline1}"/>
		</EventTrigger>
	</Page.Triggers>

	<Grid x:Name="LayoutRoot">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="0.278*"/>
			<ColumnDefinition Width="0.449*"/>
			<ColumnDefinition Width="0.273*"/>
		</Grid.ColumnDefinitions>
		<Button RenderTransformOrigin="0.5,0.5" x:Name="butOpen" Content="Open" Margin="121.795,0,44.6179999999999,45.5518508784121" VerticalAlignment="Bottom" Height="60" Click="butOpen_Click" FontWeight="Normal" Grid.ColumnSpan="2">
			<Button.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1"/>
					<SkewTransform AngleX="0" AngleY="0"/>
					<RotateTransform Angle="0"/>
					<TranslateTransform X="0" Y="0"/>
				</TransformGroup>
			</Button.RenderTransform>
			<Button.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FFFFFFFF" Offset="0"/>
					<GradientStop Color="#FF191907" Offset="0.9"/>
				</LinearGradientBrush>
			</Button.Background>
		</Button>
		<TextBox RenderTransformOrigin="0.5,0.5" x:Name="txtDbPath" Text="" TextWrapping="Wrap" Margin="122,15,0,0" VerticalAlignment="Top" Grid.ColumnSpan="3" Height="41.277" HorizontalAlignment="Left" Width="223">
			<TextBox.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1"/>
					<SkewTransform AngleX="0" AngleY="0"/>
					<RotateTransform Angle="0"/>
					<TranslateTransform X="0" Y="0"/>
				</TransformGroup>
			</TextBox.RenderTransform>
		</TextBox>
		<Button RenderTransformOrigin="0.5,0.5" x:Name="butSync" Content="Sync" Click="butSync_Click" Margin="0,0,26.084,16.748" VerticalAlignment="Bottom" Height="41.524" HorizontalAlignment="Right" Width="108.448" Grid.Column="1" Grid.ColumnSpan="2">
			<Button.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1"/>
					<SkewTransform AngleX="0" AngleY="0"/>
					<RotateTransform Angle="15.174"/>
					<TranslateTransform X="0" Y="0"/>
				</TransformGroup>
			</Button.RenderTransform>
			<Button.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FFFFFFFF" Offset="0"/>
					<GradientStop Color="#FF191907" Offset="0.9"/>
				</LinearGradientBrush>
			</Button.Background>
		</Button>
        
		<Button RenderTransformOrigin="0.5,0.5" x:Name="butSelectDb" Content="...." Click="butSelectDb_Click" Height="22.73" Margin="0,15,-89.3389999999999,0" VerticalAlignment="Top" Grid.Column="2" d:LayoutOverrides="VerticalAlignment" HorizontalAlignment="Right" Width="29.682" Background="#FFC9D3E5">
			<Button.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1"/>
					<SkewTransform AngleX="34.995" AngleY="0"/>
					<RotateTransform Angle="61.377"/>
					<TranslateTransform X="-139.997" Y="9.805"/>
				</TransformGroup>
			</Button.RenderTransform>
		</Button>
        
		<Button RenderTransformOrigin="0.5,0.5" x:Name="butCreateEmptyDB" Content="Create Database" Click="butCreateEmptyDB_Click" Margin="0,0,12.682,60.792" Opacity="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="108.952" Height="50" Grid.Column="1" Grid.ColumnSpan="2">
			<Button.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1"/>
					<SkewTransform AngleX="0" AngleY="0"/>
					<RotateTransform Angle="15"/>
					<TranslateTransform X="0" Y="0"/>
				</TransformGroup>
			</Button.RenderTransform>
			<Button.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" SpreadMethod="Pad">
					<GradientStop Color="#FFFFFFFF" Offset="0"/>
					<GradientStop Color="#FF191907" Offset="0.9"/>
				</LinearGradientBrush>
			</Button.Background>
		</Button>
        
		<CheckBox x:Name="chkIsHasPwd" Content="No Password" Checked="chkIsHasPwd_Checked" Margin="5.6843418860808E-14,93,58.568,0" VerticalAlignment="Top" Height="16" Grid.Column="1" />
        
		<PasswordBox RenderTransformOrigin="0.5,0.5" d:LayoutOverrides="VerticalAlignment" Margin="122.849123033422,63,99,0" VerticalAlignment="Top" Height="23.738" Grid.ColumnSpan="3" x:Name="txtPwd">
			<PasswordBox.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1"/>
					<SkewTransform AngleX="0" AngleY="0"/>
					<RotateTransform Angle="-0.047"/>
					<TranslateTransform X="0" Y="0"/>
				</TransformGroup>
			</PasswordBox.RenderTransform>
		</PasswordBox>
        
		<Label Margin="61,32,0.0420000000000016,0" VerticalAlignment="Top" Content="Database" FontSize="12" FontWeight="Normal" Height="24.4833333333333" />
		<Label Content="Password" HorizontalAlignment="Left" Margin="61,59,0,0" VerticalAlignment="Top" Width="70.63" FontSize="12" FontWeight="Normal" Grid.ColumnSpan="2" Height="24.4833333333333" />
        
		<Button RenderTransformOrigin="0.5,0.5" x:Name="butOpenLastest" Content="Open Lastest " Height="27" Click="butOpenLastest_Click" FontWeight="Normal" Margin="121.795,0,114.993,10" VerticalAlignment="Bottom" Grid.ColumnSpan="2">
			<Button.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1"/>
					<SkewTransform AngleX="0" AngleY="0"/>
					<RotateTransform Angle="0"/>
					<TranslateTransform X="0" Y="0"/>
				</TransformGroup>
			</Button.RenderTransform>
			<Button.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FFFFFFFF" Offset="0"/>
					<GradientStop Color="#FF191907" Offset="0.9"/>
				</LinearGradientBrush>
			</Button.Background>
		</Button>
		<Button Click="butOpenHistory_Click" FontWeight="Normal" Height="27" Margin="0,0,42.899,10" Name="butHistory" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Bottom" Grid.Column="1" HorizontalAlignment="Right" Width="52.101">
			<Button.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1" />
					<SkewTransform AngleX="0" AngleY="0" />
					<RotateTransform Angle="0" />
					<TranslateTransform X="0" Y="0" />
				</TransformGroup>
			</Button.RenderTransform>
			<Button.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FFFFFFFF" Offset="0" />
					<GradientStop Color="#FF191907" Offset="0.9" />
				</LinearGradientBrush>
			</Button.Background> History
		</Button>
		<ComboBox Grid.Column="1" Margin="2.8421709430404E-14,114,0,116" Name="comboBox1" HorizontalAlignment="Left" Width="97.3559999999999" />
		<Label FontSize="12" FontWeight="Normal" Margin="54,117.516666666667,0,116" Grid.ColumnSpan="2" HorizontalAlignment="Left" Width="70.63">Open Mode</Label>
		<Ellipse Fill="#FFFFFFFF"  MouseDown="LiveUpdate" Stroke="#FF000000" HorizontalAlignment="Left" Margin="32,98,0,0" VerticalAlignment="Top" Width="27.034" Height="22" Grid.Column="2"/>
		<Button Click="button1_Click" FontWeight="Normal" Height="27" Margin="30,62,0,0" Name="button2" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Top" Grid.Column="2" HorizontalAlignment="Left" Width="78.53">
			<Button.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1" />
					<SkewTransform AngleX="0" AngleY="0" />
					<RotateTransform Angle="0" />
					<TranslateTransform X="0" Y="0" />
				</TransformGroup>
			</Button.RenderTransform>
			<Button.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FFFFFFFF" Offset="0" />
					<GradientStop Color="#FF191907" Offset="0.9" />
				</LinearGradientBrush>
			</Button.Background> Change pwd
		</Button>
        <Button FontWeight="Normal" Height="27" Margin="11,31,0,0" Name="button1" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Top" HorizontalAlignment="Left" Width="21" Grid.Column="2" Click="button1_Click_1">
            <Button.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleX="1" ScaleY="1" />
                    <SkewTransform AngleX="0" AngleY="0" />
                    <RotateTransform Angle="0" />
                    <TranslateTransform X="0" Y="0" />
                </TransformGroup>
            </Button.RenderTransform>
            <Button.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="White" Offset="0" />
                    <GradientStop Color="#FF191907" Offset="0.9" />
                </LinearGradientBrush>
            </Button.Background> V
        </Button>
    </Grid>
</Page>